package com.zmzncs.lmtc.module.system.pojo.permission;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;


@Data
public class PermissionVO {

	@ApiModelProperty(value = "id")
	@JsonFormat(shape = JsonFormat.Shape.STRING)
	private Long id;

	@ApiModelProperty(value = "上级权限id")
	@JsonFormat(shape = JsonFormat.Shape.STRING)
	private Long pid;

	@ApiModelProperty(value = "权限名称")
	private String permissionName;

	@ApiModelProperty(value = "权限编码")
	private String permissionCode;

	@ApiModelProperty(value = "类型")
	private String type;

	@ApiModelProperty(value = "下级权限")
	private List<PermissionVO> children;

}
